package com.yupi.usercenter.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yupi.usercenter.model.dto.*;
import com.yupi.usercenter.model.entity.MonitorWo;
import com.yupi.usercenter.model.vo.MonitorWoDetailVO;
import com.yupi.usercenter.model.vo.MonitorWoExcelVO;
import com.yupi.usercenter.model.vo.MonitorWoPageVO;

import java.util.List;

/**
 * 云路供应链科技有限公司 版权所有 © Copyright 2020
 * <p>
 * 监控工单表 服务类
 *
 * @author jiweiyu
 * @version 1.0.0
 * @date Created in 2021-03-05
 */
public interface IMonitorWoService extends IService<MonitorWo> {

    Page<MonitorWoPageVO> page(MonitorWoPageDTO dto);

    MonitorWoDetailVO detail(MonitorWoDetailDTO dto);

    Boolean add(MonitorWoAddDTO dto);

    Boolean edit(MonitorWoEditDTO dto);

    Boolean delete(MonitorWoDeleteDTO dto);


    Integer exportCount(MonitorWoExcelDTO dto);

    Page<MonitorWoExcelVO> export(MonitorWoExcelDTO dto);

    Boolean sendMqMessage(List<MonitorWoAddDTO> list);
}
